package com.example.restaurant.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 桌表
 * </p>
 *
 * @author x
 * @since 2022-09-29
 */
@ApiModel(value = "Desk对象", description = "桌表")
public class Desk implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("关联门店ID")
    private int storeId;

    @ApiModelProperty("桌名")
    private String deskName;

    @ApiModelProperty("二维码")
    private String code;

    @ApiModelProperty("状态  空闲IDLE|使用 USE|DISCARD")
    private String status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public int getStoreId() {
        return storeId;
    }

    public void setStoreId(int storeId) {
        this.storeId = storeId;
    }

    public String getDeskName() {
        return deskName;
    }

    public void setDeskName(String deskName) {
        this.deskName = deskName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Desk{" +
        "id = " + id +
        ", storeId = " + storeId +
        ", deskName = " + deskName +
        ", code = " + code +
        ", status = " + status +
        "}";
    }
}
